<template>
  <rx-dialog @handOk="handOk" :oktext="$ti18('rxForm.closeBtn','关闭')" :showcancel="false">
    <rx-layout>
      <div slot="center">
        <a-form :form="form">
          <a-form-item style="display:none">
            <a-input v-decorator="['id']"/>
          </a-form-item>
          <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="i18n('form.authorPerson','权限转移人')">
            {{mdl.authorPersonName}}
          </a-form-item>
          <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="i18n('form.targetPerson','目标转移人')">
            {{mdl.targetPersonName}}
          </a-form-item>
          <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="i18n('form.opDescp','操作描述')">
            {{mdl.opDescp}}
          </a-form-item>
        </a-form>
      </div>
    </rx-layout>
  </rx-dialog>
</template>
<script>
  import SysTransferLogApi from '@/api/system/core/sysTransferLog'
  import {BaseForm, RxDialog, Util,RxLayout} from "@lowcode/jpaas-common-lib";

  export default {
    name: 'SysTransferLogGet',
    mixins: [BaseForm],
    components: {
      RxDialog,
      RxLayout
    },
    methods: {
      i18n(name,text,key){
          return this.$ti18(name,text,"SysTransferLog",key);
      },
      get(id) {
        return SysTransferLogApi.getUser(id);
      },
      save(values) {
        return SysTransferLogApi.save(values);
      },
      handOk() {
        Util.closeWindow(this, "ok");
      }
    }
  }
</script>
